
#include <stdio.h>

int buf[6] ={1,2,3,4,5,6};
int pp[6] ={11,12,13,14,15,16};

int main(int argc, char *argv[]) {
	int  *p = buf  ;

	int i = 0;

		printf(" p-> %d      \n ",  p  );
	*p++ = pp[0];
		printf(" p-> %d      \n ",  p  );
	*p++ = pp[1];
		printf(" p-> %d      \n ",  p  );
	*p++ = pp[2];
		printf(" p-> %d      \n ",  p  );
	*p++ = pp[3];
		printf(" p-> %d      \n ",  p  );
	*p++ = pp[4];
		printf(" p-> %d      \n ",  p  );
	*p++ = pp[5];
		printf(" p-> %d      \n ",  p  );
 
	for (int i = 0; i < 6; i++)
	{
		printf(" test 1 -> %d \n ", buf[i]);
	}
		// printf(" p-> %d      \n ",  p  );
	
	return 0;
}
